home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 001 / execpct2.arc / EXEC3101.DOC next >
Encoding:
Text File  |  1986-03-29  |  10.5 KB  |  274 lines

  1.  
  2.  
  3.  
  4.                                  PC-TALK III    1/19/85
  5.  
  6.             DOCUMENTATION FOR THE IBM 3101 EMULATION INCORPORATED
  7.                  IN THE PROGRAM PC-TALK Version: EXECPCT 2.0
  8.  
  9.          -> by Kyle Cummings, 5507 North 36th St., Arlington VA 22207 <-
  10.  
  11.  
  12.  
  13.         GENERAL
  14.  
  15.         The changes in the updated PC-TALK program Version EXECPCT correct
  16.         some problems in the 3101 protocol section. The escape characters
  17.         were corrected and a few new ones were added.
  18.  
  19.  
  20.  
  21.         REFERENCE
  22.  
  23.         The subroutine was cleaned up a bit and refined using the protocol 
  24.         for 3101 communication as defined in the IBM manual:
  25.                   "IBM 3101 Display Terminal Description"
  26.                              Page A-4 & A-5
  27.                      (IBM manual number GA18-2033-2)
  28.  
  29.  
  30.  
  31.         COMMENTS
  32.  
  33.         The subroutine works well for full screen support with the Alanthus
  34.         Protocol Converter we use for communication to a IBM 3083 running VM.
  35.         Appendix A-11B is for users of the Alanthus Protocol Converter.
  36.  
  37.         To use the emulation while running PC-TALK, hold down the Alt key
  38.         and press "O". This will result in a message saying:
  39.  
  40.                     "=== I.B.M. 3101 Operation On"
  41.  
  42.         You are now in 3101 mode. Place the call to the other computer and
  43.         the program will emulate an IBM 3101.
  44.  
  45.  
  46.         We have defined some of the keys for use under 3101
  47.         emulation. They are as follows:
  48.  
  49.         IBM PC KEYS           IBM 3101 KEYS           IBM 3270 KEYS
  50.         -----------------------------------------------------------
  51.    Program Attention Keys:
  52.         Enter.................New Line................ENTER
  53.         Esc 1 Enter...........PF1.....................PF1
  54.         Esc 2 Enter...........PF2.....................PF2
  55.         Esc 3 Enter...........PF3.....................PF3
  56.         Esc 4 Enter...........PF4.....................PF4
  57.         Esc 5 Enter...........PF5.....................PF5
  58.         Esc 6 Enter...........PF6.....................PF6
  59.         Esc 7 Enter...........PF7.....................PF7
  60.         Esc 8 Enter...........PF8.....................PF8
  61.         Esc 9 Enter...........ESC 9 New Line..........PF9
  62.         Esc 1 0 Enter.........ESC 1 0 New Line........PF10
  63.         Esc 1 1 Enter.........ESC 1 1 New Line........PF11
  64.         Esc 1 2 Enter.........ESC 1 2 New Line........PF12
  65.         Esc 1 3 Enter.........ESC 1 3 New Line........PF13
  66.         Esc 1 4 Enter.........ESC 1 4 New Line........PF14
  67.         Esc 1 5 Enter.........ESC 1 5 New Line........PF15
  68.         Esc 1 6 Enter.........ESC 1 6 New Line........PF16
  69.         Esc 1 7 Enter.........ESC 1 7 New Line........PF17
  70.         Esc 1 8 Enter.........ESC 1 8 New Line........PF18
  71.         Esc 1 9 Enter.........ESC 1 9 New Line........PF19
  72.         Esc 2 0 Enter.........ESC 2 0 New Line........PF20
  73.         Esc 2 1 Enter.........ESC 2 1 New Line........PF21
  74.         Esc 2 2 Enter.........ESC 2 2 New Line........PF22
  75.         Esc 2 3 Enter.........ESC 2 3 New Line........PF23
  76.         Esc 2 4 Enter.........ESC 2 4 New Line........PF24
  77.         Home..................CLEAR...................CLEAR
  78.    Cursor Control Keys:
  79.         Left Arrow............Left Arrow..............Left
  80.         Right Arrow...........Right Arrow.............Right
  81.         Up Arrow..............Up Arrow................Up
  82.         Down Arrow............Down Arrow..............Down
  83.         Pg Dn.................NEW LINE................NEW LINE
  84.         Tab Right.............TAB RIGHT...............TAB RIGHT
  85.         Tab Left..............TAB LEFT................TAB LEFT
  86.         Ctrl-Home.............Home....................Home
  87.    Editing Control Keys:
  88.         Ctrl-Pg up............ERASE INPUT.............ERASE INPUT
  89.         End...................ERASE EOF...............ERASE EOF
  90.         Ins...................ALT-V...................INSERT MODE
  91.         Del...................DEL.....................DELETE
  92.    Miscellaneous Functions:
  93.         Pg Up.................CANCEL..................RESET
  94.         Ctrl-F................ALT-F...................FIELD MARK
  95.         Ctrl-D................ALT-D...................DUP
  96.    **   ")"(Right ............")"(Right ..............Initial Sign On
  97.         Parenthesis),         Parenthesis),
  98.         repeatedly until      repeatedly until
  99.         MDS-8070 responds.    MDS-8070 responds.
  100.  
  101. ** (For Alanthus Protocol Converter Only)
  102.  
  103. Note: IBM 3270 KEYS are as the Alanthus Protocol Converter would recognize
  104.       them.
  105.  
  106.                               APPENDIX A-11B
  107.  
  108.                   Special Function Keys - IBM PC (IBM 3101)
  109.  
  110.     The following table lists IBM 3270 special function keys in the left
  111.  column, and in the right column the corresponding key (or multiple-key
  112.  sequence) on the IBM PC terminal keyboard which will cause the MDS-8070
  113.  to simulate the function performed by the respective 3270 key.
  114.     Display fields which the host computer has defined as "intensified"
  115.  are indicated by an exclamation point (!) in the display position
  116.  preceding each field.
  117.  
  118.  
  119.  IBM 3270                  IBM PC         IBM 3270                  IBM PC
  120. Key Function             Equivalent      Key Function             Equivalent
  121. ***********************************      ***********************************
  122. Program Attention Keys:                  Cursor Control Keys:
  123.    ENTER.................Enter             Left...................Left Arrow
  124.    PA1...................Ctrl-A A          Right..................Right Arrow
  125.    PA2...................Ctrl-A B          Up.....................Up Arrow
  126.    PA3...................Ctrl-A C          Down...................Down Arrow
  127.    PF1...................Esc 1 Enter       NEW LINE...............Pg Dn
  128.    PF2...................Esc 2 Enter       TAB RIGHT..............Tab Right
  129.    PF3...................Esc 3 Enter       TAB LEFT...............Tab Left
  130.    PF4...................Esc 4 Enter       Home...................Ctrl-Home
  131.    PF5...................Esc 5 Enter     Editing Control Keys:
  132.    PF6...................Esc 6 Enter       ERASE INPUT............Ctrl-Pg up
  133.    PF7...................Esc 7 Enter       ERASE EOF..............End
  134.    PF8...................Esc 8 Enter       INSERT MODE............Ins
  135.    PF9...................Esc 9 Enter       DELETE.................Del
  136.    PF10..................Esc 1 0 Enter   Miscellaneous Functions:
  137.    PF11..................Esc 1 1 Enter     RESET..................Pg Up
  138.    PF12..................Esc 1 2 Enter     FIELD MARK.............Ctrl-F
  139.    PF13..................Esc 1 3 Enter     DUP....................Ctrl-D
  140.    PF14..................Esc 1 4 Enter   s Print..................Ctrl-P
  141.    PF15..................Esc 1 5 Enter   s IDENT..................Ctrl-T
  142.    PF16..................Esc 1 6 Enter   s DEV CNCL...............Pg Up
  143.    PF17..................Esc 1 7 Enter   * Refresh Screen.........Ctrl-Z
  144.    PF18..................Esc 1 8 Enter   * Display Status Line....Ctrl-E
  145.    PF19..................Esc 1 9 Enter   * Remove Status Line.....Ctrl-X
  146.    PF20..................Esc 2 0 Enter   * Supervisor Req.........Ctrl-Y
  147.    PF21..................Esc 2 1 Enter b#* Copy...................Ctrl-P
  148.    PF22..................Esc 2 2 Enter  #* Printer Not Available..Ctrl-N
  149.    PF23..................Esc 2 3 Enter  #* Printer Online.........Ctrl-O
  150.    PF24..................Esc 2 4 Enter   * Remote Loopback........
  151.  b TEST REQ..............Ctrl-A T        * Initial Sign On........")"(Right
  152.  s SYS REQ...............Ctrl-A T                            Parenthesis), 
  153.    CLEAR.................Home                                repeatedly until
  154.  s ATTN..................Ctrl-A S                            MDS-8070 responds.
  155.  
  156.  
  157.  
  158. * These functions are not 3270-compatible, but are unique to the MDS-8070.
  159.   Their functions are described in the MDS-8070 documentation.
  160. # Shared Printer not fully supported - See Appendix-B.
  161. b BSC protocol only.
  162. s SNA protocol only.
  163.  
  164. Explanations of ESCape codes for 3101 EMULATION in PC-TALK
  165.  
  166. In this document the word ESCAPE refers to CHR$(27)
  167. All characters in uppercase are included in the code.
  168. All characters in LOWERcase are reference and NOT included in the code.
  169. Plus signs are used to show that charcters are used together.
  170. They are NOT part of the code unless specified.
  171. (Ex. ESCAPE+A is equal to the BASIC code CHR$(27)+"A")
  172.  
  173.  
  174.  
  175.  
  176. -> Move cursor to a position on the screen (LOCATE):
  177.  
  178. Format:  ESCAPE+Y+row+col
  179.  
  180. Remarks:  row  REFERS TO A CHARACTER FROM CHR$(32) TO CHR$(55) 
  181.                CHR$(32) is equal to row 1 on the screen. 
  182.                CHR$(55) is equal to row 24 on the screen. 
  183.     
  184.           col  REFERS TO A CHARACTER FROM CHR$(32) TO CHR$(111) 
  185.                CHR$(32) is equal to col 1 on the screen. 
  186.                CHR$(111) is equal to col 80 on the screen. 
  187.  
  188.  
  189.  
  190.  
  191.  
  192. -> Move cursor UP one location:
  193.  
  194. Format:  ESCAPE+A
  195.  
  196. Remarks:       This ESCape code moves the cursor UP one row.
  197.                It is the same as pressing the UP ARROW key
  198.                on the keyboard.
  199.  
  200.  
  201.  
  202.  
  203. -> Move cursor DOWN one location:
  204.  
  205. Format:  ESCAPE+B
  206.  
  207. Remarks:       This ESCape code moves the cursor DOWN one row.
  208.                It is the same as pressing the DOWN ARROW key
  209.                on the keyboard.
  210.  
  211.  
  212.  
  213.  
  214.  
  215. -> Move cursor RIGHT one location:
  216.  
  217. Format:  ESCAPE+C
  218.  
  219. Remarks:       This ESCape code moves the cursor RIGHT one col.
  220.                It is the same as pressing the RIGHT ARROW key
  221.                on the keyboard.
  222.  
  223. -> Move cursor LEFT one location:
  224.  
  225. Format:  ESCAPE+D
  226.  
  227. Remarks:       This ESCape code moves the cursor LEFT one col.
  228.                It is the same as pressing the LEFT ARROW key
  229.                on the keyboard.
  230.  
  231.  
  232.  
  233.  
  234. -> Erase until end of page:
  235.  
  236. Format:  ESCAPE+J
  237.  
  238. Remarks:       This erases from the current cursor position until
  239.                the end of the page. On 3270 type terminals it performs
  240.                as a Erase EOF key. 
  241.                (Ex. If you are on col 3, everything from col 3 to col 80
  242.                 is erased.)
  243.  
  244.  
  245.  
  246.  
  247. -> Clear the screen:
  248.  
  249. Format:  ESCAPE+L
  250.  
  251. Remarks:       This clears the screen and sets col and row to 1.
  252.  
  253.  
  254.  
  255.  
  256.  
  257. -> Goto Home address:
  258.  
  259. Format:  ESCAPE+H
  260.  
  261. Remarks:       This sets col and row to 1 without clearing the screen.
  262.  
  263.  
  264.  
  265.  
  266.  
  267. -> Turn 3101 emulation ON/OFF:   (NOT standard 3101 protocol)
  268.  
  269. Format:  ESCAPE+O+action
  270.  
  271. Remarks:       This turns the 3101 emulator off and on inside PC-TALK.
  272.                If action is equal to "-" then 3101 is off. If action
  273.                is equal to "+" then 3101 is on. 
  274.